package org.styx.order.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

/**
 *
 * @date 2021/8/9
 * @auther uranus
 */
@TableName("tb_order")
@Data
public class Order {
    @TableId(value = "id",type= IdType.ASSIGN_ID)
    private Long id;
    private Long userId;
    private Long productId;
    private Integer count;
    private BigDecimal money;
    /**
     * 订单状态:0－> 创建中　1->已完结
     */
    private Integer status;
}
